Methods
(static) isKeyOf(object) → {function}
- Source:
 - Since:
 - 0.7.0
 
- See:
 
Return a function that checks if the expected string is a key of the provided object
Example
> isKeyOfObj = isKeyOf({a: 1, b: 2})
> isKeyOfObj('a')
true
> isKeyOfObj('c')
false
    Parameters:
| Name | Type | Description | 
|---|---|---|
object | 
            
            object | 
Returns:
- String -> Boolean
 
- Type
 - function